package com.hdw.auth.bean.model;

import java.io.Serializable;

public class SysFuca implements Serializable {
    private static final long serialVersionUID = 1L;

    private Integer id;

    private Integer idSoft;

    private String cd;

    private String na;

    private Integer sort;

    private String sdSofttp;

    private Integer idFa;

    private Integer fgShow;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIdSoft() {
        return idSoft;
    }

    public void setIdSoft(Integer idSoft) {
        this.idSoft = idSoft;
    }

    public String getCd() {
        return cd;
    }

    public void setCd(String cd) {
        this.cd = cd;
    }

    public String getNa() {
        return na;
    }

    public void setNa(String na) {
        this.na = na;
    }

    public Integer getSort() {
        return sort;
    }

    public void setSort(Integer sort) {
        this.sort = sort;
    }

    public String getSdSofttp() {
        return sdSofttp;
    }

    public void setSdSofttp(String sdSofttp) {
        this.sdSofttp = sdSofttp;
    }

    public Integer getIdFa() {
        return idFa;
    }

    public void setIdFa(Integer idFa) {
        this.idFa = idFa;
    }

    public Integer getFgShow() {
        return fgShow;
    }

    public void setFgShow(Integer fgShow) {
        this.fgShow = fgShow;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        SysFuca other = (SysFuca) that;
        return (this.getId() == null ? other.getId() == null : this.getId().equals(other.getId()))
            && (this.getIdSoft() == null ? other.getIdSoft() == null : this.getIdSoft().equals(other.getIdSoft()))
            && (this.getCd() == null ? other.getCd() == null : this.getCd().equals(other.getCd()))
            && (this.getNa() == null ? other.getNa() == null : this.getNa().equals(other.getNa()))
            && (this.getSort() == null ? other.getSort() == null : this.getSort().equals(other.getSort()))
            && (this.getSdSofttp() == null ? other.getSdSofttp() == null : this.getSdSofttp().equals(other.getSdSofttp()))
            && (this.getIdFa() == null ? other.getIdFa() == null : this.getIdFa().equals(other.getIdFa()))
            && (this.getFgShow() == null ? other.getFgShow() == null : this.getFgShow().equals(other.getFgShow()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getId() == null) ? 0 : getId().hashCode());
        result = prime * result + ((getIdSoft() == null) ? 0 : getIdSoft().hashCode());
        result = prime * result + ((getCd() == null) ? 0 : getCd().hashCode());
        result = prime * result + ((getNa() == null) ? 0 : getNa().hashCode());
        result = prime * result + ((getSort() == null) ? 0 : getSort().hashCode());
        result = prime * result + ((getSdSofttp() == null) ? 0 : getSdSofttp().hashCode());
        result = prime * result + ((getIdFa() == null) ? 0 : getIdFa().hashCode());
        result = prime * result + ((getFgShow() == null) ? 0 : getFgShow().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append(", id=").append(id);
        sb.append(", idSoft=").append(idSoft);
        sb.append(", cd=").append(cd);
        sb.append(", na=").append(na);
        sb.append(", sort=").append(sort);
        sb.append(", sdSofttp=").append(sdSofttp);
        sb.append(", idFa=").append(idFa);
        sb.append(", fgShow=").append(fgShow);
        sb.append("]");
        return sb.toString();
    }
}